#
# # 1.导包
# from fdfs_client.client import Fdfs_client
#
# # 2.实例化对象
# client = Fdfs_client()
#
# # 3.上传图片
# re = client.upload_by_filename('/home/python/Desktop/sudo.jpg')
# print(re)
#

# !/usr/bin/env python

# 1.导包
from fdfs_client.client import Fdfs_client

# 2.实例化对象
client = Fdfs_client('client.conf')

# 3.上传图片
re = client.upload_by_filename('/home/python/Desktop/fff.jpg')

print(re)